<template>
	<view>
		<!-- <u-tabs :list="list1" @click="click"></u-tabs> -->
		<s-opt-grid-u :opts="opts"></s-opt-grid-u>
	</view>
</template>

<script>
	let opts = [{
			name: '考勤',
			children: [{
					name: '统计图表',
					icon: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/6acec660-4f31-11eb-a16f-5b3e54966275.jpg',
					path: '/pages/opts/modules/school/02'
				},
				{
					name: '移动考勤',
					icon: '/static/opts/progress.png',
					path: '/pages/basics/functions/functions'
				},
				{
					name: '人脸录入',
					icon: '/static/opts/progress.png',
					path: '/pages/opts/modules/kq/face/face'
				},
				{
					name: '车辆信息',
					icon: '/static/opts/progress.png',
					path: '/pages/opts/modules/school/car'
				}
			]
		},
		{
			name: '设备',
			children: [{
					name: '工单处理',
					icon: '/static/opts/progress.png',
					path: '/pages/opts/modules/school/02'
				},
				{
					name: '周期巡检',
					icon: '/static/opts/progress.png',
					path: '/pages/basics/functions/functions'
				},
				{
					name: '周期保养',
					icon: '/static/opts/progress.png',
					path: '/pages/opts/modules/school/01'
				},
				{
					name: '设备列表',
					icon: '/static/opts/progress.png',
					path: '/pages/opts/modules/eam/equ/list'
				}
			]
		},
		{
			name: '实验室',
			children: [{
					name: '结果页',
					icon: '/static/opts/progress.png',
					path: '/pages/opts/modules/laboratory/result'
				},
				{
					name: '周期巡检',
					icon: '/static/opts/progress.png',
					path: '/pages/basics/functions/functions'
				},
				{
					name: '设备列表',
					icon: '/static/opts/progress.png',
					path: '/pages/opts/modules/eam/equ/list'
				}
			]
		}
	]

	export default {
		data() {
			return {
				opts,
				list1: [{
					name: '关注',
				}, {
					name: '推荐',
				}, {
					name: '电影'
				}, {
					name: '科技'
				}, {
					name: '音乐'
				}, {
					name: '美食'
				}, {
					name: '文化'
				}, {
					name: '财经'
				}, {
					name: '手工'
				}]
			}
		},
		methods: {},
		mounted() {}
	}
</script>

<style lang="scss" scoped>
</style>
